<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    let hd = "uuqwewqeqwewq@@"
    let a = "u"
    let b = "u"
    let c = "@"
    //无法识别a
    console.log(/a/.test(hd))
    //可以识别b
    console.log(eval(`/${b}/`).test(hd))
    //无法识别c
    console.log(eval(`/${c}/`).test(hd))
</script>
</html>
